﻿using System;
using System.Windows.Forms;

namespace YJKArchMethodLibrary.Utils
{
	public partial class EscBaseForm : System.Windows.Forms.Form
	{
		protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
		{
			int num = 256;
			int num2 = 260;
			if ((msg.Msg == num | msg.Msg == num2) && keyData == Keys.Escape)
			{
				base.Close();
			}
			return false;
		}
	}
}
